package com.seedwill.common.service;

import com.seedwill.common.persistence.FilterContainer;
import com.seedwill.common.persistence.GenericFilterContainer;
import com.seedwill.common.view.IPagnationView;

/**
 * 基础泛型服务
 * 
 * @author kdyi
 *
 * @param <T>
 */
public interface IBaseGenericService<T> {
	public void create(T obj) throws ServiceException;
	public void modify(T obj) throws ServiceException;
	public void delete(java.io.Serializable id, String schemHint) throws ServiceException;
	public T find(java.io.Serializable id) throws ServiceException;
	public IPagnationView getEntityPageByFilter(GenericFilterContainer<T> filterContainer) throws ServiceException;
}
